package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.Constants;
import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 	经纪人排行请求参数
 * @author guifang.weng
 * @create 2017-11-27 14:08
 **/
public class GetAgentRankPageReqDto extends CommonReqDTO implements Serializable{
    private static final long serialVersionUID = -2189279784173778748L;
    /**
     * 页码
     */
    @TYWValid(min = 1,max = 20,regModel = Constants.NUMBER)
    private Integer pageNo;
    /**
     * 页数
     */
    @TYWValid(min = 1,max = 20,regModel = Constants.NUMBER)
    private Integer pageSize;
    /**
     * 开始时间
     */
    @TYWValid(max = 20)
    private String beginDate;
    /**
     * 结束时间
     */
    @TYWValid(max = 20)
    private String endDate;
    /**
     * 登录人公司ID（后台使用）
     */
    private Long merchantId;

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }
}
